import {Component, OnDestroy, OnInit} from '@angular/core';
import {HomeService} from './home.service';
import {StorageUtil} from '../../utils/storage.util';

@Component({
    selector: 'app-home',
    templateUrl: './home.component.html',
    styleUrls: ['./home.component.scss'],
    providers: [HomeService]
})
export class HomeComponent implements OnInit, OnDestroy {
    systemName = null;
    constructor() {
    }

    ngOnDestroy() {
    }

    ngOnInit() {
      this.systemName = StorageUtil.getLocalStorage('systemName');
    }
}
